<html>
<head>
<title>Docs For Class Pike_Grid_Datasource_Doctrine_LimitSubqueryWalker</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">DoctrineExtensions-Paginate</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                                        
                                                                                                                                                      		  [ <a href="../classtrees_DoctrineExtensions-Paginate.html" class="menu">class tree: DoctrineExtensions-Paginate</a> ]
		  [ <a href="../elementindex_DoctrineExtensions-Paginate.html" class="menu">index: DoctrineExtensions-Paginate</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_Pike.html">Pike</a><br />
              <a href="../li_DoctrineExtensions-Paginate.html">DoctrineExtensions-Paginate</a><br />
              <a href="../li_Pike_Application.html">Pike_Application</a><br />
              <a href="../li_Pike_Doctrine.html">Pike_Doctrine</a><br />
              <a href="../li_Pike_Grid.html">Pike_Grid</a><br />
              <a href="../li_Pike_Reflection.html">Pike_Reflection</a><br />
              <a href="../li_Pike_Session.html">Pike_Session</a><br />
              <a href="../li_Pike_View.html">Pike_View</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../DoctrineExtensions-Paginate/_Grid---Datasource---Doctrine---LimitSubqueryWalker.php.html">		LimitSubqueryWalker.php
		</a><br>
			<a href="../DoctrineExtensions-Paginate/_Grid---Datasource---Doctrine---PaginationAdapter.php.html">		PaginationAdapter.php
		</a><br>
			<a href="../DoctrineExtensions-Paginate/_Grid---Datasource---Doctrine---WhereInWalker.php.html">		WhereInWalker.php
		</a><br>
	  </div><br />
      
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../DoctrineExtensions-Paginate/Pike_Grid_Datasource_Doctrine_LimitSubqueryWalker.html">Pike_Grid_Datasource_Doctrine_LimitSubqueryWalker</a><br />
	    		<a href="../DoctrineExtensions-Paginate/Pike_Grid_Datasource_Doctrine_PaginationAdapter.html">Pike_Grid_Datasource_Doctrine_PaginationAdapter</a><br />
	    		<a href="../DoctrineExtensions-Paginate/Pike_Grid_Datasource_Doctrine_WhereInWalker.html">Pike_Grid_Datasource_Doctrine_WhereInWalker</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: Pike_Grid_Datasource_Doctrine_LimitSubqueryWalker</h1>
Source Location: /Grid/Datasource/Doctrine/LimitSubqueryWalker.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre>TreeWalkerAdapter
   |
   --Pike_Grid_Datasource_Doctrine_LimitSubqueryWalker</pre><br />
<div class="description">Replaces the selectClause of the AST with a SELECT DISTINCT root.id equivalent</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>David Abdemoulaie &lt;<a href="mailto:dave@hobodave.com">dave@hobodave.com</a>&gt;</li>
                  </ul>




          
      

<h4>Copyright:</h4>
<ul>
  <li>Copyright (c) 2010 David Abdemoulaie (http://hobodave.com/)</li>
</ul>
        
</td>



<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../DoctrineExtensions-Paginate/Pike_Grid_Datasource_Doctrine_LimitSubqueryWalker.html#methodwalkSelectStatement">walkSelectStatement</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>






</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="../__filesource/fsource_DoctrineExtensions-Paginate__GridDatasourceDoctrineLimitSubqueryWalker.php.html#a54">54</a>]<br />
Replaces the selectClause of the AST with a SELECT DISTINCT root.id equivalent<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>David Abdemoulaie &lt;<a href="mailto:dave@hobodave.com">dave@hobodave.com</a>&gt;</td>
  </tr>
  <tr>
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright (c) 2010 David Abdemoulaie (http://hobodave.com/)</td>
  </tr>
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://hobodave.com/license.txt">New BSD License</a></td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />


<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="methodwalkSelectStatement"></a>
	<h3>method walkSelectStatement <span class="smalllinenumber">[line <a href="../__filesource/fsource_DoctrineExtensions-Paginate__GridDatasourceDoctrineLimitSubqueryWalker.php.html#a64">64</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void walkSelectStatement(

$AST)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Walks down a SelectStatement AST node, modifying it to retrieve DISTINCT ids  of the root Entity<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">SelectStatement&nbsp;&nbsp;</td>
        <td><b>$AST</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Thu, 15 Sep 2011 16:24:56 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>